package com.drakulo.games.ais.ui.component;

import com.drakulo.games.ais.ui.twlbridge.RootPane;

import de.matthiasmann.twl.Widget;

/**
 * Components implementing this interface will be binded to the TWL root pane
 * when added to the GameStete
 * 
 * @author Drakulo
 * 
 */
public interface Bindable {
	/**
	 * Binds the component to the TWL root pane for render and update
	 * 
	 * @param pane
	 */
	void bindTo(RootPane pane);

	/**
	 * @return the bindable element
	 */
	public Widget getBindable();
}
